package com.stu.service;

import com.stu.Pojo.DePartment;
import com.stu.query.DepartmentQuery;
import com.stu.util.PageList;


import java.util.List;

public interface IDeperatmentService {


    List<DePartment> selectALL();
    DePartment  selectByid(Long id);
    void insert(DePartment dePartment);
    void update(DePartment dePartment);
    void delete(Long id);
    List<DePartment>  SelectByPage(DepartmentQuery dq);

    //分页查询+总条数
  PageList<DePartment> QueryByPage(DepartmentQuery query);

    void batchRemove(List<Long> ids);

    List<DePartment> querytree();
}
